package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 博文查询对象
 */
public class BlogQuery extends BaseQuery {

    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public String title;//标题
    public String category;//分类
    public String content;//内容介绍
    public Boolean hasImg;//是否含有图片
    public Integer minCount;//最小访问量
    public Integer maxCount;//最大访问量
    public Boolean enabled;//是否可用
    public Integer productId;//商品ID
    public Integer age;// 年龄（1,0-20   2,21-40  3,41-60）
    public String style;// 风格
    public String color;//颜色

    public BlogQuery() {
    }

    public BlogQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getHasImg() {
        return hasImg;
    }

    public void setHasImg(Boolean hasImg) {
        this.hasImg = hasImg;
    }

    public Integer getMinCount() {
        return minCount;
    }

    public void setMinCount(Integer minCount) {
        this.minCount = minCount;
    }

    public Integer getMaxCount() {
        return maxCount;
    }

    public void setMaxCount(Integer maxCount) {
        this.maxCount = maxCount;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}